package cn.jzq.mysoul.yourname.service.impl;

import cn.jzq.mysoul.yourname.domain.Blog;
import cn.jzq.mysoul.yourname.mapper.BlogMapper;
import cn.jzq.mysoul.yourname.service.IBlogService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author jzq
 * @since 2017-09-28
 */
@Service
public class BlogServiceImpl extends ServiceImpl<BlogMapper, Blog> implements IBlogService {

    @Resource
    private BlogMapper blogMapper;

    @Override
    public Blog selectByTitle(String title) {
        return blogMapper.selectByTitle(title);
    }
}
